\hypertarget{class_async_result_finish_state}{
\section{AsyncResultFinishState$<$ Result $>$ Class Template Reference}
\label{class_async_result_finish_state}\index{AsyncResultFinishState@{AsyncResultFinishState}}
}


{\ttfamily \#include $<$AsyncResultFinishState.hpp$>$}

Inheritance diagram for AsyncResultFinishState$<$ Result $>$:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{class_async_result_finish_state}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_async_result_finish_state_a169300432fc7ffa774c05d9c5257dbd9}{AsyncResultFinishState} (\hyperlink{class_async_result_start_state}{AsyncResultStartState}$<$ Result $>$ \&startState)
\item 
virtual \hyperlink{class_async_result_finish_state_a91396bc83db68ce16d10b5215e7ac10d}{$\sim$AsyncResultFinishState} ()
\item 
void \hyperlink{class_async_result_finish_state_a94508751555fa0c57279dc8275c10a45}{AddTransition} (Result result, \hyperlink{class_state}{State} \&state)
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_async_result_finish_state_a91d94460a41fa65150898324454d7f13}{
virtual void {\bfseries PeriodicImpl} ()}
\label{class_async_result_finish_state_a91d94460a41fa65150898324454d7f13}

\item 
void \hyperlink{class_async_result_finish_state_a2682c507d4936831454399babcdc1746}{AddResultDoneCodeMapping} (Result result, \hyperlink{class_state_done_code}{StateDoneCode} doneCode)
\end{DoxyCompactItemize}
\subsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_async_result_finish_state_a80d53bbd64d09f36b13d691a306aa613}{
class \hyperlink{class_async_result_finish_state_a80d53bbd64d09f36b13d691a306aa613}{AsyncResultEffectState$<$ Result $>$}}
\label{class_async_result_finish_state_a80d53bbd64d09f36b13d691a306aa613}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$typename Result$>$class AsyncResultFinishState$<$ Result $>$}

The \hyperlink{class_async_result_finish_state}{AsyncResultFinishState} class waits on the \hyperlink{class_async_result}{AsyncResult} of an \hyperlink{class_async_result_start_state}{AsyncResultStartState} to finish.

This class is untested. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{class_async_result_finish_state_a169300432fc7ffa774c05d9c5257dbd9}{
\index{AsyncResultFinishState@{AsyncResultFinishState}!AsyncResultFinishState@{AsyncResultFinishState}}
\index{AsyncResultFinishState@{AsyncResultFinishState}!AsyncResultFinishState@{AsyncResultFinishState}}
\subsubsection[{AsyncResultFinishState}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Result $>$ {\bf AsyncResultFinishState}$<$ Result $>$::{\bf AsyncResultFinishState} (
\begin{DoxyParamCaption}
\item[{{\bf AsyncResultStartState}$<$ Result $>$ \&}]{startState}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_async_result_finish_state_a169300432fc7ffa774c05d9c5257dbd9}
Constructor for \hyperlink{class_async_result_finish_state}{AsyncResultFinishState}. \hypertarget{class_async_result_finish_state_a91396bc83db68ce16d10b5215e7ac10d}{
\index{AsyncResultFinishState@{AsyncResultFinishState}!$\sim$AsyncResultFinishState@{$\sim$AsyncResultFinishState}}
\index{$\sim$AsyncResultFinishState@{$\sim$AsyncResultFinishState}!AsyncResultFinishState@{AsyncResultFinishState}}
\subsubsection[{$\sim$AsyncResultFinishState}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Result $>$ virtual {\bf AsyncResultFinishState}$<$ Result $>$::$\sim${\bf AsyncResultFinishState} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_async_result_finish_state_a91396bc83db68ce16d10b5215e7ac10d}
Destructor for \hyperlink{class_async_result_finish_state}{AsyncResultFinishState}. 

\subsection{Member Function Documentation}
\hypertarget{class_async_result_finish_state_a2682c507d4936831454399babcdc1746}{
\index{AsyncResultFinishState@{AsyncResultFinishState}!AddResultDoneCodeMapping@{AddResultDoneCodeMapping}}
\index{AddResultDoneCodeMapping@{AddResultDoneCodeMapping}!AsyncResultFinishState@{AsyncResultFinishState}}
\subsubsection[{AddResultDoneCodeMapping}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Result $>$ void {\bf AsyncResultFinishState}$<$ Result $>$::AddResultDoneCodeMapping (
\begin{DoxyParamCaption}
\item[{Result}]{result, }
\item[{{\bf StateDoneCode}}]{doneCode}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, protected\mbox{]}}}}
\label{class_async_result_finish_state_a2682c507d4936831454399babcdc1746}
Adds a mapping to map a result from the async operation to a \hyperlink{class_state_done_code}{StateDoneCode}.


\begin{DoxyParams}{Parameters}
{\em result} & The result to map from. \\
\hline
{\em doneCode} & The \hyperlink{class_state_done_code}{StateDoneCode} to transition to. \\
\hline
\end{DoxyParams}
\hypertarget{class_async_result_finish_state_a94508751555fa0c57279dc8275c10a45}{
\index{AsyncResultFinishState@{AsyncResultFinishState}!AddTransition@{AddTransition}}
\index{AddTransition@{AddTransition}!AsyncResultFinishState@{AsyncResultFinishState}}
\subsubsection[{AddTransition}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename Result $>$ void {\bf AsyncResultFinishState}$<$ Result $>$::AddTransition (
\begin{DoxyParamCaption}
\item[{Result}]{result, }
\item[{{\bf State} \&}]{state}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{class_async_result_finish_state_a94508751555fa0c57279dc8275c10a45}
Adds a transition that specifies which state to transition if the async operation finishes with the specified result.


\begin{DoxyParams}{Parameters}
{\em result} & The result for the transition. \\
\hline
{\em state} & The \hyperlink{class_state}{State} to transition to. \\
\hline
\end{DoxyParams}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
C:/Documents and Settings/Sam/My Documents/My Projects/Entech-\/Fpk/Entech-\/Fpk/AsyncResultFinishState.hpp\end{DoxyCompactItemize}
